package com.ruoyi.business.mapper;

import java.util.List;

import com.ruoyi.business.domain.BusinessOrg;
import com.ruoyi.business.domain.BusinessTeacher;
import org.apache.ibatis.annotations.Param;

/**
 * 教师信息Mapper接口
 * 
 * @author ruoyi
 * @date 2022-11-23
 */
public interface BusinessTeacherMapper 
{
    /**
     * 查询教师信息
     * 
     * @param teacherId 教师信息主键
     * @return 教师信息
     */
    public BusinessTeacher selectBusinessTeacherByTeacherId(Long teacherId);

    /**
     * 查询教师信息列表
     * 
     * @param businessTeacher 教师信息
     * @return 教师信息集合
     */
    public List<BusinessTeacher> selectBusinessTeacherList(BusinessTeacher businessTeacher);

    /**
     * 新增教师信息
     * 
     * @param businessTeacher 教师信息
     * @return 结果
     */
    public int insertBusinessTeacher(BusinessTeacher businessTeacher);

    /**
     * 修改教师信息
     * 
     * @param businessTeacher 教师信息
     * @return 结果
     */
    public int updateBusinessTeacher(BusinessTeacher businessTeacher);

    /**
     * 删除教师信息
     * 
     * @param teacherId 教师信息主键
     * @return 结果
     */
    public int deleteBusinessTeacherByTeacherId(Long teacherId);

    /**
     * 批量删除教师信息
     * 
     * @param teacherIds 需要删除的数据主键集合
     * @return 结果
     */
    public int deleteBusinessTeacherByTeacherIds(String[] teacherIds);

    BusinessTeacher selectBusinessTeacherByUserAndPwd(@Param("teacherAccount") String teacherAccount, @Param("teacherPwd") String teacherPwd);
}
